/*
 * Created by JFormDesigner on Mon Dec 13 09:50:34 CST 2021
 */

package com.cn.项目.飞机预约管理系统.Logining;

import java.awt.*;
import javax.swing.*;


//登录成功提示
public class LoginSuccessful extends JFrame {
    public LoginSuccessful() {
        initComponents();
    }

    private void initComponents() {
        // JFormDesigner - Component initialization - DO NOT MODIFY  //GEN-BEGIN:initComponents
        label1 = new JLabel();
        label2 = new JLabel();

        //======== this ========
        setVisible(true);
        Container contentPane = getContentPane();
        contentPane.setLayout(null);

        //---- label1 ----
        label1.setText("恭喜您登录成功！！");
        label1.setFont(label1.getFont().deriveFont(label1.getFont().getSize() + 8f));
        label1.setForeground(new Color(102, 255, 102));
        contentPane.add(label1);
        label1.setBounds(80, 55, 250, 35);

        //---- label2 ----
        label2.setText("请您使用该飞机预约系统！！");
        label2.setFont(label2.getFont().deriveFont(label2.getFont().getSize() + 6f));
        label2.setForeground(Color.green);
        contentPane.add(label2);
        label2.setBounds(65, 150, 275, 45);

        contentPane.setPreferredSize(new Dimension(345, 280));
        pack();
        setLocationRelativeTo(getOwner());
        // JFormDesigner - End of component initialization  //GEN-END:initComponents
    }

    // JFormDesigner - Variables declaration - DO NOT MODIFY  //GEN-BEGIN:variables
    private JLabel label1;
    private JLabel label2;
    // JFormDesigner - End of variables declaration  //GEN-END:variables
}
